import { ecs } from "db://oops-framework/libs/ecs/ECS";
import { PlayerInfoModelComp } from "./model/PlayerInfoModelComp";

/**  PlayerInfo 模块 */
@ecs.register(`PlayerInfo`)
export class PlayerInfo extends ecs.Entity {
        /** ---------- 数据层 ---------- */
        PlayerInfoModel!: PlayerInfoModelComp;
       /** 实始添加的数据层组件 */
       protected init() {
        this.addComponents<ecs.Comp>(PlayerInfoModelComp);
        this.PlayerInfoModel.vmAdd();
    }
}


/** PlayerInfo 模块业务逻辑系统组件，如无业务逻辑处理可删除此对象 */
export class EcsPlayerInfoSystem extends ecs.System {
    constructor() {
        super();
    }
}